package tw.com.hitevision.whiteboard.android.widgets.MeasurementTools;

import android.graphics.PointF;

public class RulerRecord extends MeasurementToolRecord {
    private PointF[] points;

    public RulerRecord(String name, float rotateDegree, PointF[] pointFS) {
        super(name, 0, 0, rotateDegree, 1f);
        this.points = new PointF[4];
        for (int i = 0; i < pointFS.length; i++) {
            points[i] = new PointF(pointFS[i].x, pointFS[i].y);
        }
    }

    public PointF[] getRectPoints() {
        return points;
    }
}
